﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package com.control {
    import com.model.*;
    import flash.net.*;

    public class Services extends NetConnection {

        public var __model:ModelLocator

        private static var __instance:Services = null;

        public function Services(){
            __model = ModelLocator.getInstance();
            super();
        }
        public static function getInstance():Services{
            if (__instance == null){
                __instance = new (Services);
                __instance.objectEncoding = ObjectEncoding.AMF0;
                __instance.connect(__instance.__model.gateway);
            };
            return (__instance);
        }

    }
}//package com.control 
